<!--
 * @FilePath: /vue3-demo/src/components/HelloWorld-teleport.vue
 * @Author: Yongchao Wang
 * @Date: 2020-09-20 20:45:11
 * @LastEditors: Yongchao Wang
 * @LastEditTime: 2020-09-20 22:28:07
-->
<template>
  <div>
    <teleport to="#modals">
      <div>A</div>
    </teleport>
    <teleport to="#modals">
      <div>B</div>
    </teleport>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  components: {},

  computed: {},

  mounted() {},

  methods: {},
};
</script>
<style  scoped>
</style>